<template>
    <div>home</div>
</template>
<script>
export default {
    async created(){
        //请求login示例
        const data =await this.$http.login({username:'admin',password:'123456'})
        console.log(data)
    }
}
</script>